Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Codegen #41

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Codegen #41

wants to merge 5 commits into from

Conversation

mgates3
Copy link
Collaborator

@mgates3 mgates3 commented Jan 17, 2025

Adds code generation with dependencies into CMake. If generated files are missing or out-of-date, they will be automatically generated, in parallel, during build step (make).

python is required all the time to build.

For a few files, the s, d types were generated from z but the z file was never used. It's simpler to add the d files, generate s from d, and remove the unused z files.

It seems recent python versions are more picky about strings, warning about invalid escape characters. Use r raw strings as required.

@mgates3
Copy link
Collaborator Author

mgates3 commented Jan 17, 2025

@nbeams @abdelfattah83 This is the new CMake generation code. See CMakeLists.txt and codegen.py. Should be easy to port to MAGMA's CMake.

@mgates3 mgates3 force-pushed the codegen branch 2 times, most recently from 372d512 to 97a0c69 Compare January 17, 2025 23:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant